package com.situ.allaia.dao;

import com.situ.allaia.model.AdminUser;
import com.situ.allaia.model.AdminUserSearchBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AdminUserDao {
    AdminUser findByUsername(String username);

    List<AdminUser> findAll(AdminUserSearchBean asb);

    int save(AdminUser adminUser);

    int deleteByIds(Integer[] ids);

    AdminUser findById(Integer id);

    int update(AdminUser adminUser);
}
